package com.quartet.modules.equipment.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quartet.modules.equipment.dto.TStockInfoRequestDto;
import com.quartet.modules.equipment.dto.TStockInfoResponseDto;
import com.quartet.modules.equipment.entity.TStockInfo;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * 库存信息表(TStockInfo)表数据库访问层
 *
 * @author makejava
 * @since 2021-05-04 16:51:19
 */
@Mapper
public interface TStockInfoDao extends BaseMapper<TStockInfo> {

    /**
     * 条件查询库存信息带分页
     * @param tStockInfoRequestDto
     * @return
     */
    List<TStockInfoResponseDto> selectStockByCondition(TStockInfoRequestDto tStockInfoRequestDto);
}
